package com.etoak.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.etoak.common.core.vo.PageVO;
import com.etoak.entity.Dishes;
import com.etoak.vo.DishesVO;

import java.util.List;

/**
 *  服务类
 *
 * @author etoak
 * @since 2025-07-28
 */
public interface DishesService extends IService<Dishes> {

    /**
     * 添加菜品
     *
     * @param dishes 菜品参数
     */
    void add(Dishes dishes);

    PageVO<DishesVO> getList(int pageNum,int pageSize, Dishes dishes);

    void updateDishes(int id, Dishes dishes);

    void deleteDishes(int id);

    List<DishesVO> getByIds(List<Integer> ids);
}
